package com.tkjt.pms.modules.scoring.service;

import com.tkjt.pms.modules.scoring.model.*;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.vo.LoginUser;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface TkScoringBizService {
    Result indexCodes(LoginUser loginUser);

    Result scoreDatagrid(ScoreDatagridRequestModel model,String dataType);

    Result saveRows(ScoreValueSaveRequestModel model, LoginUser loginUser,String dataType);

    Result scoreCommentSave(LoginUser loginUser, ScoreCommentSaveRequestModel model,String dataType) throws Exception;

    GradeViewDatagridResponseModel gradeViewDatagrid(String year,String dataType);

    ScoreCommentQueryResponseModel scoreCommentQuery(ScoreCommentQueryRequestModel model,String dataType) throws Exception;

    GradeDetailDatagridResponseModel gradeDetailDatagrid(Map<String,Object> request, String dataType);

    Result gradeIndexChart(HttpServletRequest request,String dataType);

    Result gradeIndexChartNew(Map<String,Object> request,String dataType);
}
